﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lemonc.DataSecurity
{
    public interface IRSAFromPkcs8
    {
          string MD5Encrypt(string plaintext, Encoding bytesEncoding);
          string MD5Encrypt(string plaintext);
          string sign(string content);
          bool verify(string content, string signedString);
          bool verifyRSAMD5(string content, string signedString);
          string Encrypt(string content);
          string decrypt(byte[] data);
          string decryptData(string resData);
    }
}
